package com.iran.adapter.test;

public class Translator extends Player {
    private ForeignCenter foreignCenter;

    public ForeignCenter getForeignCenter() {
        return foreignCenter;
    }

    public void setForeignCenter(ForeignCenter foreignCenter) {
        this.foreignCenter = foreignCenter;
    }

    @Override
    public void attack() {
        foreignCenter.JG();
    }

    @Override
    public void defense() {
        foreignCenter.FS();
    }
}
